<!DOCTYPE html>
<?php
	session_start();
?>
<html>
	<head>
		<meta http-equiv = "content-type" content = "text/html; charset = UTF-8">
		<title>我的主页</title>
		<link rel = "stylesheet" href = "base.css">
		<style>
			div#content {
				height: 319px;
				width: 1190px;
				text-align: center;
				margin-top:0;
				float: left;
				
			}
			div#header {
				width: 1040px;
				text-align: center;
				float: left;
			}
			div#logo {
				width: 150px;
				float: left;
			}
			h1 {
				font-size: 18px;
			}
			a:link {
				text-decoration: none;
				color: blue;
			}
			a:visited {
				text-decoration: none;
				color: blue;
			}
			img#picture{
				text-align: center;
				margin-top: 50px;
			}
		</style>
	</head>
	<body class = "content">	
		<div id="container">
			<div id = "logo">
				<img src = "image/logo.gif"  width = "150px" height = "50px"/>
			</div>
			<div id = "header">
				<h1><a href = "index2.php">首页</a> | <a href = "msgboard.php">留言板</a> | <a href = "message.php">查看留言</a> | <a href = "userinfo.php">个人信息</a> | 
					<a href = "exit.php">退出</a></h1>
				<div id = "hello">
					<?php
					echo "$_SESSION[user] 你好！";
					?></div>
			</div>
		<div id = "content">
			<hr>
			<img id = "picture" src = "image/1.gif" width = "400px" height = "150px"	/>
		</div>
		<div id="footer"><hr>Copyright © 2014 xiaolongge</div>
		</div>
	</body>
</html>